package java_basic.t1_objectandclasses;

//1. Class in java
public class Dog {

	String breed;
	int age;
	String color;

	void barking(){
	}
	
	void hungry(){
	}

	void sleeping(){
	}
}

/*--A class can contain any of the following variable types
  		+ Local variable: Variable define inside methods, constructor or block are called local
  		  variable. The variable will be declare and initialized within the method and the variable 
  		  will be destroyed whene the method has complete
  		+ Instance variable: Instance variables a variable within a class but outside any method. These
  		  variable are instantiated whene the class is loaded. Instance variable can be accessed from
  		  inside any method, constructor or block of that particular class.
  		+ Class variable: class variable are variable declare k 
  	
  	
  	
  	
  	
  */
